<?php


namespace api\project\controller;


use api\project\model\NavModel;
use cmf\controller\RestBaseController;
use think\Request;

class NavController extends RestBaseController
{
    public function index(Request $request)
    {
        $res = NavModel::order('id','desc')
            ->select();
        $this->success('导航栏',$res);
    }
}